import Vue from "vue"
import Router from "vue-router"

Vue.use(Router)

export default new Router({
    routes: [{
            name: "home",
            path: "/home",
            component: () =>
                import ("@/pages/home/home.vue")
        }, {
            name: "team",
            path: "/team",
            component: () =>
                import ("@/pages/team/team.vue")
        },
        {
            name: "aa",
            path: "/all:shuju",
            component: () =>
                import ("@/pages/all/all.vue")
        }, {
            name: "book",
            path: "/book",
            component: () =>
                import ("@/pages/book/book.vue")
        }, {
            name: "login",
            path: "/login",
            component: () =>
                import ("@/pages/login/login.vue")
        },
        {
            name: "resgist",
            path: "/resgist",
            component: () =>
                import ("@/pages/resgist/resgist.vue")
        },
        {
            name: "movie",
            path: "/movie",
            component: () =>
                import ("@/pages/movie/movie.vue")
        }, {
            name: "search",
            path: "/search",
            component: () =>
                import ("@/pages/search/search.vue")
        }, {
            name: "radio",
            path: "/radio",
            component: () =>
                import ("@/pages/radio/radio.vue")
        }
    ]
})